package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author lyh
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "批量添加差额费用实体")
@Data
public class BachDifferenceDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "用工单位Id")
    private String companyId;

    @ApiModelProperty(notes = "员工Id列表")
    @NotNull(message = "请选择缴纳差额费用人员")
    private List<String> empIdList;

    @ApiModelProperty(notes = "差额费用名称")
    private String differenceName;

    @ApiModelProperty(notes = "个人差额费用")
    private BigDecimal personalDifference;

    @ApiModelProperty(notes = "公司差额费用")
    private BigDecimal companyDifference;

    @ApiModelProperty(notes = "是否是筛选的本账单员工")
    private Boolean currentFilter;

    @ApiModelProperty(notes = "参保月Id")
    @NotNull(message = "参保月Id不能为空")
    private String monthId;
}
